package com.didi.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.didi.gulimall.common.to.OrderBackVo;
import com.didi.gulimall.common.to.OrderSuccessVo;
import com.didi.gulimall.common.to.OrderTo;
import com.didi.gulimall.common.utils.PageUtils;
import com.didi.gulimall.common.utils.R;
import com.didi.gulimall.ware.entity.WareOrderTaskEntity;

import java.util.Map;

/**
 * 库存工作单
 *
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-01-14 16:10:36
 */
public interface WareOrderTaskService extends IService<WareOrderTaskEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R deductionInventory(OrderTo orderVo);

    WareOrderTaskEntity getIdByOrderSn(String orderSn);

    void orderBack(OrderBackVo orderBackVo);

    void paysuccessDeductionInventory(OrderSuccessVo orderSuccessVo);
}

